home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12233 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  961 b 

  1. Path: ultra.sonic.net!news
  2. From: alan@sonic.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Help writing to file without redirect..
  5. Date: 18 Mar 1996 22:54:40 GMT
  6. Organization: Sonoma Interconnect,Santa Rosa,CA(us),http://www.sonic.net
  7. Message-ID: <4ikpjg$5rs@ultra.sonic.net>
  8. NNTP-Posting-Host: pm123.sonic.net
  9. X-Newsreader: SPRY News 3.03 (SPRY, Inc.)
  10.  
  11. Hello, I hate asking for help but I am really stuck.   I would like use the sendmail command without saving a file.  What I mean is currently in my C CGI programs I have 
  12. a line that would say something like:     system ("sendmail alan@sonic.net < tempfile")    I would like to get away from having to use a temp file and be able to just have 
  13. all the text go in right after.  I don't like my programs doing disk access unless I just can't do anything else.  If you have a better way of using sendmail without having to 
  14. save the text to a temp file first, please help...  Thanks very, very much...
  15.  
  16.                         Alan...
  17.  
  18.